class Context(object):

    def __init__(self):
        self.__context = {}

    def put(self, key, value):
        self.__context[key] = value
    def get(self, key = None):
        if key:
            return self.__context[key]
        else:
            return self.__context            
    def delete(self, key):
        del self.__contextp[key]    
    def clear(self):
        self.__context = {}
